#ifndef ADDGROUP_H
#define ADDGROUP_H

#include "qmessagebox.h"
#include "tcpclient.h"
#include <QWidget>
namespace Ui {
class addGroup;
}

class addGroup : public QWidget {
    Q_OBJECT

public:
    explicit addGroup(SelfInfo info, TcpClient *tcp, QWidget *parent = nullptr);
    ~addGroup();

private slots:
    void on_pushButton_clicked();

private:
    Ui::addGroup *ui;
    TcpClient *t;
    SelfInfo info;
    QMessageBox *msgBox;
};

#endif // ADDGROUP_H
